package com.mini.gateway.web.request;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * PageRequest
 *
 */
public class PageRequest {

    protected int current = 1;
    protected int size = 10;

    public Page getPage() {
        return new Page(current, size);
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
